package top.zhangjianyong.blog.config.oss;


import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.zhangjianyong.blog.client.OssClient;
import top.zhangjianyong.blog.config.OssProperties;

/**
 * @author zhangjianyong
 * @since 2025/8/6 16:38
 */
@Slf4j
@Configuration
public class OssConfig {

    @Bean
    public OssClient ossClient(OssProperties properties) {
        return new OssClient(properties);
    }
}
